
package com.intretech.umsin.system.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.intretech.umsin.datasource.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;


 /**
 * @version V1.0
 * 系统字典定义:sys_dict 对应实体类.
 * @ClassName: SysDict
 * @Description: 系统字典定义:sys_dict 对应实体类.
 * @author: 李启联
 * @date:   2022-8-16 16:25:06
 * @Copyright: Copyright (c) 2022
 */
@TableName("`sys_dict`")
public class SysDictEntity extends BaseEntity {
   // 字典编码
   @TableField(value = "dict_code")
   private String dictCode;
   // 字典名称
   @TableField(value = "dict_name")
   private String dictName;
   // 描述
   @TableField(value = "description")
   private String description;
   // 删除状态
   @TableField(value = "del_flag")
   private Integer delFlag;
   // 字典类型0为string,1为number
   @TableField(value = "type")
   private Integer type;

   public String getDictCode(){
        return this.dictCode;
   }
   public void setDictCode(String dictCode){
        this.dictCode = dictCode;
   }
   public String getDictName(){
        return this.dictName;
   }
   public void setDictName(String dictName){
        this.dictName = dictName;
   }
   public String getDescription(){
        return this.description;
   }
   public void setDescription(String description){
        this.description = description;
   }
   public Integer getDelFlag(){
        return this.delFlag;
   }
   public void setDelFlag(Integer delFlag){
        this.delFlag = delFlag;
   }
   public Integer getType(){
        return this.type;
   }
   public void setType(Integer type){
        this.type = type;
   }

  public SysDictEntity(){
  }


  @Override
  public String toString(){
  return " SysDict ["
    +" dictCode = " +dictCode +" ,"
    +" dictName = " +dictName +" ,"
    +" description = " +description +" ,"
    +" delFlag = " +delFlag +" ,"
    +" type = " +type +" ,"
  +" ]";
  }
}